<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2016/11/4
 * Time: 14:29
 */

return [
    'success' => [
        'code' => 200 ,
        'msg' => 'SUCCESS'
    ],
    '' => [
        'code' => -1,
        'msg' => '系统异常',
    ],
    'fail' => [
        'code' => -1 ,
        'msg' => 'FAILED'
    ],
    'error' => [
        'code' => 500 ,
        'msg' => 'ERROR'
    ],

    'param' => [
        'code' => 20001 ,
        'msg' => 'The input parameter is not allowed to be null'
    ],
    'sign' => [
        'code' => 20002,
        'msg' => 'Check not passed'
    ],
    'unionCode' => [
        'code' => 20003,
        'msg' => 'The unionCode is invalid'
    ],

    'tid_invalid' => [
        'code' => 10001 ,
        'msg' => 'tid is invalid'
    ],
    'uid_invalid' => [
        'code' => 10002 ,
        'msg' => 'uid is invalid'
    ],
    'appid_invalid' => [
        'code' => 20004 ,
        'msg' => 'appid is invalid'
    ],

    'appsecret_invalid' => [
        'code' => 20005,
        'msg' => 'appsecret is invalid'
    ],
    'timestamp_invalid' => [
        'code' => 20006,
        'msg' => 'timestamp is invalid'
    ],

    'sign_invalid' => [
        'code' => 20007,
        'msg' => 'signature is invalid'
    ],
    'enterprise_id_invalid' => [
        'code' => 20008,
        'msg' => 'enterprise_id is invalid'
    ],
    'bar_code_error' => [
        'code' => 20009,
        'msg' => 'the bar_code is unavailable'
    ],
    'errorcode.success' => [
        'code' => 200,
        'msg' => 'the token is available'
    ],
    'token_invalid' => [
        'code' => 20011,
        'msg' => 'the token is invalid'
    ],
    'token_expired' => [
        'code' => 20013,
        'msg' => 'the token has expired'
    ],
        'noncestr_invalid' => [
        'code' => 20014,
        'msg' => 'the noncestr is invalid'
    ],
    'signature_invalid' => [
        'code' => 20015,
        'msg' => 'the signature is invalid'
    ],
    'record_id_invalid' => [
        'code' => 20016,
        'msg' => 'the record_id is invalid'
    ],
    'record_enterprise_not_match' => [
        'code' => 20017,
        'msg' => 'the record id and enterprise id do not match'
    ],
    'eid_tid_not_match' => [
        'code' => 20018,
        'msg' => 'the enterprise_id has no permission of the testing'
    ],
    'questionnair_id_invalid' => [
        'code' => 20019,
        'msg' => 'the questionnair_id is invalid'
    ],
    'param_invalid' => [
        'code' => 20020,
        'msg' => 'the param is invalid'
    ],
    'order_id_invalid' => [
        'code' => 20021,
        'msg' => 'the rder_id is invalid'
    ],
    'nutritionist_id_invalid' => [
        'code' => 20022,
        'msg' => 'the nutritionist_id is invalid'
    ],
    'target_order_id_invalid' => [
        'code' => 20023,
        'msg' => 'the nutritionist_id is invalid'
    ],
    'origin_order_id_invalid' => [
        'code' => 20024,
        'msg' => 'the nutritionist_id is invalid'
    ],
    'param_error' => [
        'code' => 20025,
        'msg' => '参数异常'
    ],
    'virtual_oid' => [
        'code' => 20026,
        'msg' => 'the virtual_oid is invalid'
    ],
    'five_dimension' => [
        'dimension_error' => [
            'code' => 30001,
            'msg' => '答题维度异常'
        ]
    ],
    'user' => [
        'bind_channel' => [
            'channel_invalid' => [
                'code' => '40001',
                'msg' => '绑定的渠道不存在'
            ]
        ],
    ],
];